package javamusic.Servlet.Cliente;

import java.io.IOException;

import javamusic.excepcion.DAOExcepcion;
import javamusic.modelo.Cliente;
import javamusic.modelo.Sala;
import javamusic.negocio.GestionCliente;
import javamusic.negocio.GestionSala;

import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Servlet implementation class ServletClienteReservaEditar1
 */
@WebServlet("/ServletClienteReservaEditar1")
public class ServletClienteReservaEditar1 extends HttpServlet {
	private static final long serialVersionUID = 1L;
       
    /**
     * @see HttpServlet#HttpServlet()
     */
    public ServletClienteReservaEditar1() {
        super();
        // TODO Auto-generated constructor stub
    }

	/**
	 * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
	 */
	protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		// TODO Auto-generated method stub
		
		Cliente vo3 = (Cliente)request.getSession().getAttribute("vo");
		System.out.println("el correo es:" + vo3.getCorreo());
		
		
	}

	/**
	 * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
	 */
	protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		// TODO Auto-generated method stub
	}

}
